package com.yu1996.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yu1996.common.utils.PageUtils;
import com.yu1996.gulimall.product.entity.AttrGroupEntity;

import com.yu1996.gulimall.product.vo.AttrGroupRelationVo;
import com.yu1996.gulimall.product.vo.AttrGroupWithAttrsVo;
import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author yu
 * @email 1798121567@qq.com
 * @date 2021-08-04 17:31:00
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

  PageUtils queryPage(Map<String, Object> params);

  //根据分类Id分页查询所有属性
  PageUtils queryPage(Map<String, Object> params, Integer categoryId);

  /**
   * 根据分类id查询所有分组和组里面的属性
   */
  List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);
}

